﻿
using VisitorPattern.Visitor;

namespace VisitorPattern;

internal class StudentVip : Student
{
    public string? CurseFree { get; set; }
    public string? CurseVip { get; set; }

    public override void GetVideo()
    {
        Console.WriteLine($"{this.GetType().Name} 获取全套课程的视频和代码");
    }

    public override void GetVideoVisitor(IVisitor visitorCurrent)
    {
        visitorCurrent.GetVideoVip(this);
    }
}
